package com.nlelpct.manage.feign;

import com.nlelpct.manage.model.query.AuthenticationLogQueryVo;
import com.nlelpct.manage.model.vo.EsAuthenticationLog;

import com.nlelpct.manage.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(name = "EsAuthenticationLogService", url = "${common-service.log-sms}")
public interface EsAuthenticationFeign {

    @RequestMapping(value = "/sysManage/authentication/saveOptLog", method = RequestMethod.POST)
    Result saveLog(@RequestBody EsAuthenticationLog log);
}
